﻿using System;

namespace FallingRox
{
    public interface IUserInput
    {
        event EventHandler OnRightArrowPressed; // right arrow pressed

        event EventHandler OnLeftArrowPressed; // left arrow pressed

        event EventHandler OnUpArrowPressed; // up arrow pressed

        event EventHandler OnDownArrowPressed; // down arrow pressed

        event EventHandler OnSpaceBarPressed; //spacebar pressed - acts as action key

        //method 
        // implemented in the KeyboardInput class
        void HandleInput(); 
    }
}
